#ifndef SENDER_HPP
#define SENDER_HPP

#include <opencv2/opencv.hpp>
#include <iostream>
#include <unistd.h>
class StreamPusher{
private:
    std::string url;
    std::FILE* fp;

public:
    StreamPusher(std::string desIp, std::string port, std::string subStr);
    ~StreamPusher();
    void setFp();
    void push(cv::Mat& img);
};

#endif //SENDER_HPP